package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog=new Dog("小黑",10,"白","骨头","阿拉斯加");
        dog.eat();
        dog.lookHome();
        dog.drink();

        Chick chick=new Chick("花花",5,"黑","大米");
        chick.drink();
        chick.layEggs();
        chick.eat();

        Fish fish=new Fish("坤坤",2,"粉","虾米");
        fish.eat();
        fish.drink();

    }
}
